#include"httplib.h"
#define SERVER_IP "47.121.24.16"
#define SERVER_PORT 8080
int main()
{
httplib::Client client(SERVER_IP,SERVER_PORT);//实例化client对象，用于搭建客户端
httplib:: MultipartFormData item;


item.name="file";
item.filename="hello.txt";
item.content="hello world!";
item.content_type="text/plain";


httplib::MultipartFormDataItems items;
items.push_back(item);

auto res=client.Post("/muitipart",items);
std::cout<<res->status<<std::endl;
std::cout<<res->body<<std::endl;
return 0;

}